home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / browser / places / places.css < prev    next >
Cascading Style Sheet File  |  2009-07-01  |  4KB  |  152 lines

  1. /* Sidebars */
  2. .sidebar-placesTree {
  3.   -moz-appearance: none;
  4.   border: 0;
  5.   margin: 0;
  6.   border-top: 1px solid ThreeDShadow;
  7. }
  8.  
  9. .sidebar-placesTreechildren::-moz-tree-cell(leaf) ,
  10. .sidebar-placesTreechildren::-moz-tree-image(leaf) {
  11.   cursor: pointer;
  12. }
  13.  
  14. .sidebar-placesTreechildren::-moz-tree-cell-text(leaf, hover) {
  15.   cursor: pointer;
  16.   text-decoration: underline;
  17. }
  18.  
  19. .sidebar-placesTreechildren::-moz-tree-cell(separator) {
  20.   cursor: default;
  21. }
  22.  
  23. /* Trees */
  24. treechildren::-moz-tree-image(title) {
  25.   list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
  26.   padding-right: 2px;
  27.   margin: 0px 2px;
  28.   width: 16px;
  29.   height: 16px;
  30. }
  31.  
  32. treechildren::-moz-tree-image(title, livemarkItem) {
  33.   list-style-image: url("chrome://browser/skin/livemark-item.png");
  34. }
  35.  
  36. treechildren::-moz-tree-image(title, separator) {
  37.   list-style-image: none;
  38.   width: 0;
  39.   height: 0;
  40. }
  41.  
  42. treechildren::-moz-tree-image(title, container) {
  43.   list-style-image: url("chrome://global/skin/icons/folder-item.png");
  44.   -moz-image-region: rect(0px, 32px, 16px, 16px);
  45. }
  46.  
  47. treechildren::-moz-tree-image(title, open) {
  48.   -moz-image-region: rect(16px, 32px, 32px, 16px);
  49. }
  50.  
  51. treechildren::-moz-tree-image(title, container, livemark) {
  52.   list-style-image: url("chrome://browser/skin/livemark-folder.png");
  53.   -moz-image-region: auto;
  54. }
  55.  
  56. treechildren::-moz-tree-image(container, OrganizerQuery_AllBookmarks) {
  57.   list-style-image: url("chrome://browser/skin/places/allBookmarks.png");
  58.   -moz-image-region: auto;
  59. }
  60.  
  61. treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
  62.   list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
  63.   -moz-image-region: auto;
  64. }
  65.  
  66. treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
  67.   list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png");
  68.   -moz-image-region: auto;
  69. }
  70.  
  71. treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
  72.   list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
  73.   -moz-image-region: auto;
  74. }
  75.  
  76. /* query-nodes should be styled even if they're not expandable */
  77. treechildren::-moz-tree-image(title, query) {
  78.   list-style-image: url("chrome://browser/skin/places/query.png");
  79.   -moz-image-region: auto;
  80. }
  81.  
  82. treechildren::-moz-tree-image(title, query, tagContainer),
  83. treechildren::-moz-tree-image(query, OrganizerQuery_Tags) {
  84.   list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
  85.   -moz-image-region: auto;
  86. }
  87.  
  88. /* calendar icon for folders grouping items by date */
  89. treechildren::-moz-tree-image(title, query, dayContainer) {
  90.   list-style-image: url("chrome://browser/skin/places/calendar.png");
  91.   -moz-image-region: auto;
  92. }
  93.  
  94. treechildren::-moz-tree-image(title, query, hostContainer) {
  95.   list-style-image: url("chrome://global/skin/icons/folder-item.png");
  96.   -moz-image-region: rect(0px, 32px, 16px, 16px);
  97. }
  98.  
  99. treechildren::-moz-tree-image(title, query, hostContainer, open) {
  100.   list-style-image: url("chrome://global/skin/icons/folder-item.png");
  101.   -moz-image-region: rect(16px, 32px, 32px, 16px);
  102. }
  103.  
  104. treechildren::-moz-tree-image(title, query, OrganizerQuery_History) {
  105.   list-style-image: url("chrome://browser/skin/places/history.png");
  106. }
  107.  
  108. /* We want some queries to look like ordinary folders. This must come
  109.    after the (title, query) selector, or it would get overridden. */
  110. treechildren::-moz-tree-image(title, query, folder) {
  111.   list-style-image: url("chrome://global/skin/icons/folder-item.png");
  112.   -moz-image-region: rect(0px, 32px, 16px, 16px);
  113. }
  114.  
  115. treechildren::-moz-tree-image(title, query, folder, open) {
  116.   -moz-image-region: rect(16px, 32px, 32px, 16px);
  117. }
  118.  
  119. treechildren::-moz-tree-row(session-start) {
  120.   border-top:1px dotted ThreeDShadow;
  121.   font-weight: bold;
  122. }
  123.  
  124. treechildren::-moz-tree-cell-text(date, session-continue) {
  125.   color: -moz-Field;
  126. }
  127.  
  128. /* Browser Sidebars */
  129.  
  130. /* Default button vert. margins are 1px/2px, and this can cause misalignment */
  131. #viewButton {
  132.   margin-top: 2px;
  133.   margin-bottom: 2px;
  134. }
  135.  
  136. #viewButton > hbox > dropmarker {
  137.   height: auto;
  138.   width: auto;
  139.   -moz-margin-end: -3px;
  140. }
  141.  
  142. /* Style Places sidebars as Vista media collection */
  143. #bookmarksPanel:-moz-system-metric(windows-default-theme),
  144. #history-panel:-moz-system-metric(windows-default-theme) {
  145.   background-color: #EEF3FA;
  146. }
  147.  
  148. .sidebar-placesTree:-moz-system-metric(windows-default-theme) {
  149.   background-color: transparent;
  150.   border-top: none;
  151. }
  152.